import request from '@/utils/request'

// 查询单表测试列表
export function listSingletable(query) {
  return request({
    url: '/manage/singletable/list',
    method: 'get',
    params: query
  })
}

// 查询单表测试详细
export function getSingletable(studentId) {
  return request({
    url: '/manage/singletable/' + studentId,
    method: 'get'
  })
}

// 新增单表测试
export function addSingletable(data) {
  return request({
    url: '/manage/singletable',
    method: 'post',
    data: data
  })
}

// 修改单表测试
export function updateSingletable(data) {
  return request({
    url: '/manage/singletable',
    method: 'put',
    data: data
  })
}

// 删除单表测试
export function delSingletable(studentId) {
  return request({
    url: '/manage/singletable/' + studentId,
    method: 'delete'
  })
}

